package com.yuyou.fn.crm.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 回访记录
 *
 */
@TableName(value = "crm_visit")
public class Visit implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<Visit> createExample(){
		return new Example<Visit>(Visit.class);
	}

	/**  */
	@TableId(value = "visit_id")
	private Long visitId;

	/**  */
	@TableField(value = "customer_resource_id")
	private Long customerResourceId;

	/**  */
	@TableField(value = "student_id")
	private Long studentId;

	/** 方式 0:电话 1:直访 2:other  */
	private Integer way;

	/** 报读意愿 0:一般 1:强烈 2:无意愿  */
	@TableField(value = "reg_possible")
	private Integer regPossible;

	/** 意向年级 */
	@TableField(value = "grade_id")
	private Long gradeId;

	/** 意向年级名称 */
	@TableField(value = "grade_name")
	private String gradeName;

	/** 意向科目 */
	@TableField(value = "subject_id")
	private Long subjectId;

	/** 意向年级科目 */
	@TableField(value = "subject_name")
	private String subjectName;

	/** 意向班型 */
	@TableField(value = "reg_level")
	private Integer regLevel;

	/** 回防内容 */
	private String remark;

	/** 是否到店 0:否 1:是  */
	@TableField(value = "is_came_to_campus")
	private Integer isCameToCampus;

	/**  */
	@TableField(value = "visit_time")
	private Date visitTime;

	/**  */
	@TableField(value = "visit_operator_id")
	private Long visitOperatorId;

	/** 回访人 */
	@TableField(value = "visit_operator_name")
	private String visitOperatorName;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getVisitId() {
		return this.visitId;
	}

	public void setVisitId(Long visitId) {
		this.visitId = visitId;
	}

	public Long getCustomerResourceId() {
		return this.customerResourceId;
	}

	public void setCustomerResourceId(Long customerResourceId) {
		this.customerResourceId = customerResourceId;
	}

	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public Integer getWay() {
		return this.way;
	}

	public void setWay(Integer way) {
		this.way = way;
	}

	public Integer getRegPossible() {
		return this.regPossible;
	}

	public void setRegPossible(Integer regPossible) {
		this.regPossible = regPossible;
	}

	public Long getGradeId() {
		return this.gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public String getGradeName() {
		return this.gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public Long getSubjectId() {
		return this.subjectId;
	}

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public String getSubjectName() {
		return this.subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public Integer getRegLevel() {
		return this.regLevel;
	}

	public void setRegLevel(Integer regLevel) {
		this.regLevel = regLevel;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getIsCameToCampus() {
		return this.isCameToCampus;
	}

	public void setIsCameToCampus(Integer isCameToCampus) {
		this.isCameToCampus = isCameToCampus;
	}

	public Date getVisitTime() {
		return this.visitTime;
	}

	public void setVisitTime(Date visitTime) {
		this.visitTime = visitTime;
	}

	public Long getVisitOperatorId() {
		return this.visitOperatorId;
	}

	public void setVisitOperatorId(Long visitOperatorId) {
		this.visitOperatorId = visitOperatorId;
	}

	public String getVisitOperatorName() {
		return this.visitOperatorName;
	}

	public void setVisitOperatorName(String visitOperatorName) {
		this.visitOperatorName = visitOperatorName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
